
#ifndef __SQUARE_H__
#define __SQUARE_H__
#include "Rectangle.h"

class Square
{
public:
    Square(double side);

    double getSide(void) const;
    void setSide(double width);

    double getPerimeter(void) const;
    double getArea(void) const;

private:
    Rectangle rec;
};

#endif

